{include file="public/header" title='后台首页' keywords='关键字'}
<script src="__JS__/pintuer.js"></script>
</head>
<body>

  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> 订单详情</strong> <a href="" style="float:right; display:none;">添加字段</a></div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li><b>订单号</b> : {$user['order_sn']}</li>
        <li><b>收货人</b> : {$user['buyer_name']}</li>
        <li><b>手机</b> : {$user['out_trade_sn']}</li>
        <li><b>收货地址</b> : {$user['region_name']}</li>
        <li><b>订单状态</b> : <font color="#00CC99">{$user['order_status']}</font></li>
        <li><b>下单时间</b> : {$user->addtimenext|raw}</li>
      </ul>
      </form>
    </div>
    <table class="table table-hover text-center">
      <tr>
        <th width="20%">商品名</th>
        <th width="10%">商品图片</th>
        <th width="10%">原价</th>
        <th width="10%">本店价</th>
        <th width="5%">数量</th>
        <th width="10%">小计</th>
      </tr>
      {foreach $list as $v}
        <tr>
          <td>{$v['goods_name']}</td>
          <td>
            {if(empty($v['goods_image']))}
            <img src='/static/data/default.png' width='70' height='70' alt='' >
            {else/}
            <img src="/static/{$v['goods_image']}" width='70' height='70' alt='' >
            {/if}
          </td>
          <td><s>¥{$v['order_amount']}元</s></td>
          <td>¥{$v['price']}元</td>
          <td>{$v['quantity']}</td>
          <td>{$v['price']*$v['quantity']}</td>
        </tr>
      <tr>
        {/foreach}
        <td colspan="6" style="text-align:right;padding-right:20px;">
        	<b>原价</b> : <s>¥元</s> &nbsp; &nbsp; &nbsp;
        	<b>优惠价</b> :¥元  &nbsp; &nbsp; &nbsp;
            <a href="{:url('orderDeliver',['id'=>$user['order_id']])}" class="button bg-main icon-arrow-up">去发货</a>
        	<!--<button class="button bg-main icon-arrow-up" type="submit"> 去发货</button>-->
        </td>
      </tr>
    </table>

  </div>
</body>
</html>